<?php echo $header; ?>

<div class="page" id="content">
	<div class="personal_info">
    	<?php if($this->customer->getLastName()){ ?>
			    Welcom <?php echo $this->customer->getLastName() ?> <b>(</b> <a href="index.php?route=account/logout">logout</a> <b>)</b>
			<?php }else{ ?>
				<a href="index.php?route=account/login">login</a> or <a href="index.php?route=account/register">create an account</a>
			<?php } ?>
    </div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<div class="shoppingcart_container">
		  <h1><?php echo $heading_title; ?></h1>
		  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" style="margin-left:10px">
		    <h2><?php echo $text_location; ?></h2>
		    <div class="contact-info">
		      <div class="content"><div class="left"><b><?php echo $text_address; ?></b><br />
			<?php echo $store; ?><br />
			<?php echo $address; ?></div>
		      <div class="right">
			<?php if ($telephone) { ?>
			<b><?php echo $text_telephone; ?></b><br />
			<?php echo $telephone; ?><br />
			<br />
			<?php } ?>
			<?php if ($fax) { ?>
			<b><?php echo $text_fax; ?></b><br />
			<?php echo $fax; ?>
			<?php } ?>
		      </div>
		    </div>
		    </div>
		    <h2><?php echo $text_contact; ?></h2>
		    <div class="content">
		    <b>Your name:</b><br />
		    <input type="text" name="name" value="<?php echo $name; ?>" />
		    <br />
		    <?php if ($error_name) { ?>
		    <span class="error"><?php echo $error_name; ?></span>
		    <?php } ?>
		    <br />
		    <b><?php echo $entry_email; ?></b><br />
		    <input type="text" name="email" value="<?php echo $email; ?>" />
		    <br />
		    <?php if ($error_email) { ?>
		    <span class="error"><?php echo $error_email; ?></span>
		    <?php } ?>
		    <br />
		    <b>Inquiry:</b><br />
		    <textarea name="enquiry" cols="40" rows="10" style="width: 99%;"><?php echo $enquiry; ?></textarea>
		    <br />
		    <?php if ($error_enquiry) { ?>
		    <span class="error"><?php echo $error_enquiry; ?></span>
		    <?php } ?>
		    <br />
		    <b><?php echo $entry_captcha; ?></b><br />
		    <input type="text" name="captcha" value="<?php echo $captcha; ?>" />
		    <br />
		    <img src="index.php?route=information/contact/captcha" alt="" />
		    <?php if ($error_captcha) { ?>
		    <span class="error"><?php echo $error_captcha; ?></span>
		    <?php } ?>
		    </div>
		    <div class="buttons">
		      <div class="right"><input type="submit" value="<?php echo $button_continue; ?>" class="button" /></div>
		    </div>
		  </form>
		</div></td></tr></table></div>
<?php echo $footer; ?>